    $(document).ready(function() {
        var favs = $("span").get();

        $("span").bind('click',function(){
                    if( !confirm('Are you shore from Delete?') ) {
                            return false;
                        }
                var id=$(this).attr('id');
                var data='id='+id+'&do=nofav'

                var toThis=this;
                $.ajax({
                    type:"POST",
                    url:"aj_fav.php",
                    data: data,
                    success: function (html) {
                        $(toThis).parent().parent().remove();
                    }
                });
        })
    })
